import React from 'react'

function Faq (props) {
  const { faqList } = props
  return (
    <div className='b-model clearfix  bgfw pl40 pt50 pb20 pr40'>
      {faqList && faqList.map((item, index) =>
        <div className='qaItem mb30' style={{ width: '100%' }} key={index}>
          <div className='question f32 fc3 pl50'><span className='circle tac diy_background'>?</span><p>{item.question}</p></div>
          <div className='show answer line-wrap f28 fc8 pl40 pr40 pt20'>{item.answer}</div>
        </div>
      )}
    </div>
  )
}

export default Faq
